First, the pull up resistors worked great! The encoders are counting perfectly.
I can control the Kflop digital I/O bits 16 to 25 from the console.
The drives run and track fairly well but need to be fine tuned.
Two big issues remain:
1) startup initialization of the machine.
Right now the system starts but the digital I/O is defaulted to off and that means it is trying to run the spindle CW, CCW and stop it -ALL AT THE SAME TIME. I can pull the cable, set the bits from the console, reconnect the cable and run. But lets face it, it should be possible to run that at startup, but where and how? I have written a init.c program, assigned it a name. I have no idea what folder to save it to nor how to make a call to either load it onto the kflop board or from kmotion. I grew up on DOS, I expect there to be a batch file or a set of files that I specify it to run. Where is this and how do I do it?
2)Fine tuning of the drives
PID parameters
Velocity, accel and jerk When to adjust each parameter and in what magnitude.
Please provide a guide regarding how to fine tune these 6 parameters (P, I, D, Velocity, Accel, Jerk)
Once I get these little details figured out, the system should be making chips this weekend.
Gregg
|